export default {
  path: '/',
  component: () => import('@/views/layout/index.vue'),
  redirect: '/home',
  children: [
    {
      path: 'home',
      component: () => import('@/views/home/index.vue'),
      meta: { title: '首页' }
    },
    {
      path: 'article',
      component: () => import('@/views/article/index.vue'),
      meta: { title: '健康百科' }
    },
    {
      path: 'notify',
      component: () => import('@/views/notify/index.vue'),
      meta: { title: '消息通知' }
    },
    {
      path: 'user',
      component: () => import('@/views/user/index.vue'),
      meta: { title: '个人中心' }
    }
  ]
}
